package com.tssf.car_manage.service;

import com.github.pagehelper.PageInfo;
import com.tssf.car_manage.entity.RepairRecord;

import java.util.List;

public interface RepairRecordService {
    List<RepairRecord> listWithLicensePlate();

    // 新增分页查询方法
    PageInfo<RepairRecord> listWithLicensePlate(int page, int pageSize);

    List<RepairRecord> search(String key);

    // 新增分页搜索方法
    PageInfo<RepairRecord> search(String key, int page, int pageSize);

    int deleteById(int repair_id);

    int insert(RepairRecord repairRecord);

    int update(RepairRecord repairRecord);

    RepairRecord getById(int repair_id);

}
